package pl.pasu.mydiet.client;

import java.util.List;

import pl.pasu.mydiet.client.dto.ConstProductDTO;
import pl.pasu.mydiet.client.dto.DietUserDTO;
import pl.pasu.mydiet.shared.DietResponse;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("start")
public interface DietService extends RemoteService {

	DietResponse createUser(DietUserDTO user);

	List<DietUserDTO> getUsers();

	List<ConstProductDTO> getAvailableProducts();

}